const mongoose = require("mongoose");
mongoose.connect(
  "mongodb://root:password@43.138.68.252:27017/make_money",
  (err) => {
    if (!err) {
      console.log("数据库连接成功");
    } else {
      console.log("连接数据库失败");
    }
  }
);

module.exports = mongoose;
